.class final Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;
.super Lkotlin/jvm/internal/Lambda;
.source "GPSUSBSettingsView.kt"

# interfaces
.implements Lkotlin/jvm/functions/Function1;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->initialize(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/jvm/internal/Lambda;",
        "Lkotlin/jvm/functions/Function1<",
        "Landroid/view/View;",
        "Lkotlin/Unit;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic $baudRates:Landroid/widget/Spinner;

.field final synthetic $baudRatesAdapter:Landroid/widget/ArrayAdapter;

.field final synthetic $context:Landroid/content/Context;

.field final synthetic $dataBits:Landroid/widget/Spinner;

.field final synthetic $dataBitsAdapter:Landroid/widget/ArrayAdapter;

.field final synthetic $flowControl:Landroid/widget/Spinner;

.field final synthetic $flowControlAdapter:Landroid/widget/ArrayAdapter;

.field final synthetic $parity:Landroid/widget/Spinner;

.field final synthetic $parityAdapter:Landroid/widget/ArrayAdapter;

.field final synthetic $stopBits:Landroid/widget/Spinner;

.field final synthetic $stopBitsAdapter:Landroid/widget/ArrayAdapter;

.field final synthetic this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/content/Context;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;)V
    .locals 0

    iput-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    iput-object p3, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$baudRatesAdapter:Landroid/widget/ArrayAdapter;

    iput-object p4, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$baudRates:Landroid/widget/Spinner;

    iput-object p5, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$dataBitsAdapter:Landroid/widget/ArrayAdapter;

    iput-object p6, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$dataBits:Landroid/widget/Spinner;

    iput-object p7, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$stopBitsAdapter:Landroid/widget/ArrayAdapter;

    iput-object p8, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$stopBits:Landroid/widget/Spinner;

    iput-object p9, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$parityAdapter:Landroid/widget/ArrayAdapter;

    iput-object p10, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$parity:Landroid/widget/Spinner;

    iput-object p11, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$flowControlAdapter:Landroid/widget/ArrayAdapter;

    iput-object p12, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$flowControl:Landroid/widget/Spinner;

    const/4 p1, 0x1

    invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V

    return-void
.end method


# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0

    .line 21
    check-cast p1, Landroid/view/View;

    invoke-virtual {p0, p1}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->invoke(Landroid/view/View;)V

    sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;

    return-object p1
.end method

.method public final invoke(Landroid/view/View;)V
    .locals 4

    const-string v0, "it"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 62
    sget-object p1, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->Companion:Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs$Companion;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs$Companion;->createDefault()Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;

    move-result-object p1

    .line 63
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_BAUD_RATE:Llt/minvib/magicpreferences/MagicIntegerPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->baudRate()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Llt/minvib/magicpreferences/MagicIntegerPreference;->set(Landroid/content/Context;Ljava/lang/Integer;)V

    .line 64
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_DATA_BITS:Llt/minvib/magicpreferences/MagicIntegerPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->dataBits()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Llt/minvib/magicpreferences/MagicIntegerPreference;->set(Landroid/content/Context;Ljava/lang/Integer;)V

    .line 65
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_STOP_BITS:Llt/minvib/magicpreferences/MagicIntegerPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->stopBits()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Llt/minvib/magicpreferences/MagicIntegerPreference;->set(Landroid/content/Context;Ljava/lang/Integer;)V

    .line 66
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_PARITY:Llt/minvib/magicpreferences/MagicIntegerPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->parity()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Llt/minvib/magicpreferences/MagicIntegerPreference;->set(Landroid/content/Context;Ljava/lang/Integer;)V

    .line 67
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_FLOW_CONTROL:Llt/minvib/magicpreferences/MagicIntegerPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$context:Landroid/content/Context;

    invoke-virtual {p1}, Llt/farmis/libraries/externalgps/providers/usb/USBDeviceManagerConfigs;->flowControl()I

    move-result p1

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v0, v1, p1}, Llt/minvib/magicpreferences/MagicIntegerPreference;->set(Landroid/content/Context;Ljava/lang/Integer;)V

    .line 69
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$baudRatesAdapter:Landroid/widget/ArrayAdapter;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$baudRates:Landroid/widget/Spinner;

    const-string v2, "baudRates"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_BAUD_RATE:Llt/minvib/magicpreferences/MagicIntegerPreference;

    const-string v3, "Preferences.GPS_USB_BAUD_RATE"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1, v0, v1, v2}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->access$resetChecked(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Llt/minvib/magicpreferences/MagicIntegerPreference;)V

    .line 70
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$dataBitsAdapter:Landroid/widget/ArrayAdapter;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$dataBits:Landroid/widget/Spinner;

    const-string v2, "dataBits"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_DATA_BITS:Llt/minvib/magicpreferences/MagicIntegerPreference;

    const-string v3, "Preferences.GPS_USB_DATA_BITS"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1, v0, v1, v2}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->access$resetChecked(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Llt/minvib/magicpreferences/MagicIntegerPreference;)V

    .line 71
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$stopBitsAdapter:Landroid/widget/ArrayAdapter;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$stopBits:Landroid/widget/Spinner;

    const-string v2, "stopBits"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_STOP_BITS:Llt/minvib/magicpreferences/MagicIntegerPreference;

    const-string v3, "Preferences.GPS_USB_STOP_BITS"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1, v0, v1, v2}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->access$resetChecked(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Llt/minvib/magicpreferences/MagicIntegerPreference;)V

    .line 72
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$parityAdapter:Landroid/widget/ArrayAdapter;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$parity:Landroid/widget/Spinner;

    const-string v2, "parity"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_PARITY:Llt/minvib/magicpreferences/MagicIntegerPreference;

    const-string v3, "Preferences.GPS_USB_PARITY"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1, v0, v1, v2}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->access$resetChecked(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Llt/minvib/magicpreferences/MagicIntegerPreference;)V

    .line 73
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->this$0:Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$flowControlAdapter:Landroid/widget/ArrayAdapter;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView$initialize$1;->$flowControl:Landroid/widget/Spinner;

    const-string v2, "flowControl"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_USB_FLOW_CONTROL:Llt/minvib/magicpreferences/MagicIntegerPreference;

    const-string v3, "Preferences.GPS_USB_FLOW_CONTROL"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1, v0, v1, v2}, Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;->access$resetChecked(Llt/noframe/gpsfarmguide/widgets/gps/GPSUSBSettingsView;Landroid/widget/ArrayAdapter;Landroid/widget/Spinner;Llt/minvib/magicpreferences/MagicIntegerPreference;)V

    return-void
.end method
